<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all"/>
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body>
<div class="layui-form layuimini-form">
    <!--/*@thymesVar id="id" type="aj"*/-->
<!--    <input type="hidden" th:value="${user.id}" name="id"/>-->
    <div>
        <h2>用户信息</h2>


        <table id="test1" lay-filter="userTable"  class="layui-table"  border="1">
<!--            <colgroup>-->
<!--                <col width="150">-->
<!--                <col width="150">-->
<!--                <col width="150">-->
<!--                <col width="150">-->
<!--            </colgroup>-->
            <tr>
                <td>手机号</td>
                <td th:text="${user.phone}" th:name="phone"></td>
                <td>用户名</td>
                <td th:text="${user.name}" th:name="name"></td>
            </tr>
            <tr>
                <td>状态</td>
                <td th:text="${user.status}"></td>
                <td>注册时间</td>
                <td th:text="${user.createTime}"></td>
            </tr>
        </table>
    </div>
    <div>
        <h2>认证信息</h2>
        <table id="test2" lay-filter="userTable" class="layui-table"  border="1">
            <tr>
                <td>姓名</td>
                <td th:text="${user.name}"></td>
                <td>证件类型</td>
                <td th:text="${user.certificatesType}"></td>
            </tr>
            <tr>
                <td>证件号</td>
                <td th:text="${user.certificatesNo}"></td>
                <td>证件图片</td>
                <td th:text="${user.certificatesUrl}"></td>
            </tr>

        </table>
    </div>
    <div>
        <h2>就诊人信息</h2>
        <table id="test3" lay-filter="userTable" class="layui-table"  border="1">
            <tr>
                <td>序号</td>
                <td>姓名</td>
                <td>证件类型</td>
                <td>证件号</td>
                <td>性别</td>
                <td>出生年月</td>
                <td>手机</td>
                <td>是否结婚</td>
                <td>地址</td>
                <td>注册时间</td>
                <td th:text="${patient.certificatesType}"></td>
            </tr>
            <tr>
                <td th:text="${patient.id}"></td>
                <td th:text="${patient.name}"></td>
                <td th:text="${patient.certificatesType}"></td>
                <td th:text="${patient.certificatesNo}"></td>
                <td th:text="${patient.sex}"></td>
                <td></td>
                <td th:text="${patient.phone}"></td>
                <td></td>
                <td></td>
                <td th:text="${patient.createTime}"></td>
            </tr>

        </table>
    </div>


    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">确认保存</button>
        </div>
    </div>
</div>
<script th:src="@{/layui/layui.js}" charset="utf-8"></script>
<script th:src="@{/js/lay-config.js}" charset="utf-8"></script>
<script th:src="@{/js/jquery-3.3.1.min.js}"></script>


<script th:inline="javascript">

</script>
</body>
</html>